<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="utf-8">
    <link rel="stylesheet" href="../javascripts/lib/jqm/jquery.mobile-1.4.3.min.css"/>
    <link rel="stylesheet" href="../stylesheets/main.css"/>
    <script src="../javascripts/lib/jq/jquery-2.1.1.min.js"></script>
    <script src="../javascripts/lib/jqm/jquery.mobile-1.4.3.min.js"></script>
    <script type="text/javascript">
        document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
            WeixinJSBridge.call('hideToolbar');
        });
    </script>
    <title><%= title %></title>
</head>
<body>

<div data-role="page" id="pageone">
    <div data-role="header">
        <h1>设置选项</h1>
    </div>

    <div data-role="content">
        <a href="#pagetwo" data-transition="slide" class="ui-btn ui-shadow ui-corner-all ui-icon-arrow-r ui-btn-icon-right">咨询结算</a>
        <a href="/wcpay/payoff/his?openid=<%= result.openid %>" data-transition="slide" class="ui-btn ui-shadow ui-corner-all ui-icon-arrow-r ui-btn-icon-right">历史结算记录</a>
        <a href="/wcpay/payoff/offline?openid=<%= result.openid %>" data-transition="slide" data-role="button">下线</a>
    </div>

</div>

<div class="a" data-role="page" id="pagetwo">
    <script type="text/javascript">
    </script>
    <div data-role="header" id="header">
        <a class="ui-btn ui-icon-back ui-btn-icon-left" href="#pageone">返回</a>
        <h1>咨询结算</h1>
    </div>
    <div data-role="content" data-theme="c">

        <!--<div class="payoff_his">
            <a href="/wcpay/payoff/offline?openid=<%= result.openid %>" data-transition="slide">下线</a>
            <a href="/wcpay/payoff/his?openid=<%= result.openid %>" data-transition="slide"  style="margin-right: 20px">历史结算记录</a>
        </div>-->
        <div class="current_payoff current_payoff_first">
            <div class="title">
                <img src="../images/payoff_total.png"/>
                <label class="title-text">当前收益</label>
            </div>
            <div class="income">
                ￥<%= result.income %>
            </div>
        </div>
        <div class="current_payoff current_payoff_first">
            <div class="title">
                <img src="../images/payoff_title.png"/>
                <label class="title-text">当前点数</label>
            </div>
            <div class="income">
                &nbsp;<%= result.payoff_count %>点
            </div>
        </div>
        <div class="current_payoff">
            <div class="title">
                <img src="../images/payoff_title.png"/>
                <label>累计总点数</label>
            </div>
            <div class="income">
                &nbsp;<%= result.payoff_totalcount %>点
            </div>
        </div>
        <a href="/wcpay/payoff/submit?openid=<%= result.openid %>" data-role="button" name="" id="btnpayoff"
           data-transition="slide">提交结算单</a>
        <a href="/wcpay/payoff/exchange?openid=<%= result.openid %>" data-transition="slide" data-role="button">兑换咨询点数</a>
    </div>
</div>
</body>
</html>